﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using tiDE;
using tiDE.Packers;

namespace tiDEBootAddIn
{
    public partial class BootCodeWizard : Form, IProjectWizard
    {
        public BootCodeWizard()
        {
            InitializeComponent();
            tiDEWindow.ThisInstance.menuStrip1.Items.Add(new ToolStripMenuItem("Boot Code"));
            (tiDEWindow.ThisInstance.menuStrip1.Items["Boot Code"] as ToolStripMenuItem).DropDownItems.Add("Click me!").Click += new EventHandler(MenuItem1_Click);
        }

        void MenuItem1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Hello, world!");
        }

        public object ProjectData
        {
            get
            {
                return new BootCodePacker();
            }
            set
            {
                
            }
        }
    }
}
